﻿<Window x:Class="Gronia.Test.AlignedWrapPanelTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:gronia="http://www.gronia.org/wpf/"
        Title="AlignedWrapPanelTest" Height="300" Width="600">
    <DockPanel>
        <StackPanel Orientation="Horizontal" Height="20" DockPanel.Dock="Top">
            <CheckBox IsChecked="False" x:Name="chkHorizontal" Checked="Checked" Unchecked="Checked">Horizontal</CheckBox>
            <CheckBox IsChecked="True" x:Name="chkLeft" Checked="Checked" Unchecked="Checked">Left</CheckBox>
            <CheckBox IsChecked="True" x:Name="chkTop" Checked="Checked" Unchecked="Checked">Top</CheckBox>
            <CheckBox x:Name="chkReverse" Checked="Checked" Unchecked="Checked">Reverse</CheckBox>
        </StackPanel>
        <gronia:AlignedWrapPanel x:Name="panel" Orientation="Vertical" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" >
            <Rectangle Stroke="Tomato" Width="20" Height="20" StrokeThickness="5" Fill="Pink"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Green" Width="20" Height="20" StrokeThickness="5" Fill="Lime"/>
            <Rectangle Stroke="Brown" Width="20" Height="20" StrokeThickness="5" Fill="RosyBrown"/>
        </gronia:AlignedWrapPanel>
    </DockPanel>
</Window>
